package com.xhs.modular.company.service;

import com.mybatisflex.core.service.IService;
import com.xhs.core.message.ReturnResult;
import com.xhs.modular.company.entity.CapCompanyInfoEntity;
import com.xhs.modular.company.param.CompanyAddParam;
import com.xhs.modular.company.param.CompanyPageParam;

/**
 * @desc: 企业信息 服务层。
 * @projectName: spring-boot3-demo
 * @author: xhs
 * @date: 2025-06-09 周一 15:14
 */
public interface CapCompanyInfoService extends IService<CapCompanyInfoEntity> {

    /**
     * 获取企业信息
     *
     * @return ReturnResult<Object>
     */
    ReturnResult<Object> getCompanyInfo();

    /**
     * 新增企业
     *
     * @param companyAddParam 入参
     * @return ReturnResult<Object>
     */
    ReturnResult<Object> addCompanyInfo(CompanyAddParam companyAddParam);

    /**
     * 分页查询企业
     *
     * @param companyPageParam 查询条件
     * @return ReturnResult<Object>
     */
    ReturnResult<Object> pageList(CompanyPageParam companyPageParam);
}
